home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCreateSimpleMenuBar.z
/
XmCreateSimpleMenuBar
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr - A RowColumn widget convenience
creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/RowColumn.h>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr(
WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr creates an instance of a RowColumn
widget of type XXXXmmmmMMMMEEEENNNNUUUU____BBBBAAAARRRR and returns the associated widget
ID.
This routine creates a MenuBar and its CascadeButtonGadget
children. The name of each button is bbbbuuuuttttttttoooonnnn_____n, where _n is
an integer from 0 (zero) to the number of buttons in the
menu minus 1. Buttons are named and created in the order
they are specified in the RowColumn simple menu creation
resources supplied in the argument list.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_t Specifies the argument list
_a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in
the argument list (_a_r_g_l_i_s_t)
A number of resources exist specifically for use with this
and other simple menu creation routines. The only button
type allowed in the XXXXmmmmNNNNbbbbuuuuttttttttoooonnnnTTTTyyyyppppeeee resource is
XXXXmmmmCCCCAAAASSSSCCCCAAAADDDDEEEEBBBBUUUUTTTTTTTTOOOONNNN. For a complete definition of RowColumn and
its associated resources, see XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the RowColumn widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3), XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3),
and XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr(3).
Page 1 (printed 10/24/98)